package com.jinmdz.fmis.api.model;

import com.jinmdz.fmis.common.annotation.AnColumn;
import com.jinmdz.fmis.common.annotation.AnTable;

/**
 * @author LiCongLu
 * @date 2020-01-16 13:24
 */
@AnTable
public class AreaItem {
    @AnColumn("AreaId")
    private Double areaId;
    @AnColumn("AreaCode")
    private String areaCode;
    @AnColumn("AreaName")
    private String areaName;
    @AnColumn("AreaParentId")
    private Double areaParentId;
    @AnColumn("AreaParentCode")
    private String areaParentCode;
    @AnColumn("AreaFullName")
    private String areaFullName;

    public Double getAreaId() {
        return areaId;
    }

    public AreaItem setAreaId(Double areaId) {
        this.areaId = areaId;
        return this;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public AreaItem setAreaCode(String areaCode) {
        this.areaCode = areaCode;
        return this;
    }

    public String getAreaName() {
        return areaName;
    }

    public AreaItem setAreaName(String areaName) {
        this.areaName = areaName;
        return this;
    }

    public Double getAreaParentId() {
        return areaParentId;
    }

    public AreaItem setAreaParentId(Double areaParentId) {
        this.areaParentId = areaParentId;
        return this;
    }

    public String getAreaParentCode() {
        return areaParentCode;
    }

    public AreaItem setAreaParentCode(String areaParentCode) {
        this.areaParentCode = areaParentCode;
        return this;
    }

    public String getAreaFullName() {
        return areaFullName;
    }

    public AreaItem setAreaFullName(String areaFullName) {
        this.areaFullName = areaFullName;
        return this;
    }

    @Override
    public String toString() {
        return "AreaItem{" +
                "areaId=" + areaId +
                ", areaCode='" + areaCode + '\'' +
                ", areaName='" + areaName + '\'' +
                ", areaParentId=" + areaParentId +
                ", areaParentCode='" + areaParentCode + '\'' +
                ", areaFullName='" + areaFullName + '\'' +
                '}';
    }
}
